﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Epsilon.Expr
{
    public class PreOpExpr : Expression
    {
        public Expression Operand { get; private set; }
        public PreOp Op { get; private set; }

        public PreOpExpr(Expression e, PreOp op, int l, int c)
            : base(l, c)
        {
            Operand = e;
            Op = op;
        }
    }

    public enum PreOp
    {
        Plus,
        Minus,
        BNOT,
        NOT
    }
}
